package com.sbc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 列车站点关系表
 * </p>
 *
 * @author songbaicheng
 * @since 2024-05-16
 */
@Getter
@Setter
@TableName("t_train_station_relation")
public class TTrainStationRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 车次ID
     */
    private Long trainId;

    /**
     * 出发站点
     */
    private String departure;

    /**
     * 到达站点
     */
    private String arrival;

    /**
     * 起始城市名称
     */
    private String startRegion;

    /**
     * 终点城市名称
     */
    private String endRegion;

    /**
     * 始发标识
     */
    private Boolean departureFlag;

    /**
     * 终点标识
     */
    private Boolean arrivalFlag;

    /**
     * 出发时间
     */
    private LocalDateTime departureTime;

    /**
     * 到达时间
     */
    private LocalDateTime arrivalTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 删除标识
     */
    private Boolean delFlag;
}
